package com.ruoyi.food.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 套餐分组菜品
 *
 * @author wyh
 * @email 915384938@qq.com
 * @date 2022-07-05 11:27:39
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName("t_combo_group_food")
public class ComboGroupFood extends BaseEntity {

    /**
     *
     */
    @TableId
    private Long id;
    /**
     *
     */
    private Long sellerId;
    /**
     * 分组Id
     */
    private Long comboGroupId;
    /**
     *
     */
    private Long foodId;
    /**
     *
     */
    private Long foodDetailId;
    /**
     *
     */
    private String foodName;
    /**
     *
     */
    private String spec;
    /**
     *
     */
    private String foodOptions;
    /**
     *
     */
    private BigDecimal addPrice;
    /**
     *
     */
    private BigDecimal maxNum;
    /**
     *
     */
    private BigDecimal defaultNum;
    /**
     *
     */
    private BigDecimal num;
    /**
     *
     */
    private Long userId;

}
